package com.ruoyi.project.WebMoudle.WxShopWords.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 关键字对象 wx_shop_words
 * 
 * @author ruoyi
 * @date 2020-06-22
 */
public class WxShopWords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 关键字 */
    @Excel(name = "关键字")
    private String importWords;

    /** 归属商铺 */
    @Excel(name = "归属商铺")
    private String allowShop;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String isValid;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    private boolean flag = false;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImportWords(String importWords) 
    {
        this.importWords = importWords;
    }

    public String getImportWords() 
    {
        return importWords;
    }
    public void setAllowShop(String allowShop) 
    {
        this.allowShop = allowShop;
    }

    public String getAllowShop() 
    {
        return allowShop;
    }
    public void setIsValid(String isValid) 
    {
        this.isValid = isValid;
    }

    public String getIsValid() 
    {
        return isValid;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("importWords", getImportWords())
            .append("allowShop", getAllowShop())
            .append("isValid", getIsValid())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remarks", getRemarks())
            .toString();
    }
}
